package com.hoshiicloud.user.param.organization;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
/**
* <p>
* 新增租户机构部门人员参数
* </p>
*
* @author campchen
* @since 2019-05-27
*/

@Data
@ApiModel(value="新增租户机构部门人员", description="新增租户机构部门人员")
public class ComOrganizationDepartmentesUsersAddParam implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(name = "companyId", value = "租户ID", example = "")
    private Long companyId;
    

    @ApiModelProperty(name = "departmentId", value = "部门ID", example = "")
    private Long departmentId;
    

    @ApiModelProperty(name = "userId", value = "用户ID", example = "")
    private Long userId;
    

    @ApiModelProperty(name = "role", value = "角色 2-超级管理员 1-普通管理员 0-普通员工", example = "")
    private String role;
    

    @ApiModelProperty(name = "enabled", value = "是否可用", example = "1")
    private Integer enabled;

    @ApiModelProperty(value = "创建人")
    private String createdBy;
}
